import request from '@/utils/request'

export const getDapartement = () => {
  return request({
    method: 'GET',
    url: '/company/department'
  })
}

export const delDepartments = (id) => {
  return request({
    url: `/company/department/${id}`,
    method: 'delete'
  })
}
